home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1999 / MacHack 1999.toast / The Hacks / OutOfContextMenus / Source / TerminationUtils.h < prev    next >
Encoding:
Text File  |  1999-06-21  |  570 b   |  35 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    TerminationUtils.h                     ©1999 Eric Traut
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7.  
  8. /* Type definitions */
  9. typedef void (*TearDownProcPtr)(void);
  10.  
  11.  
  12. /* Constant definitions */
  13. enum
  14. {
  15.     kMaxTearDownProcs        = 10
  16. };
  17.  
  18.  
  19. /* Function prototypes */
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. void        InitTerminationUtils(void);
  25. void        DisableTearDownProcs(void);
  26. void        InstallTearDownProc(TearDownProcPtr inProcToCall);
  27.  
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31.  
  32.  
  33.  
  34.  
  35.